package pos.data;

import java.util.List;

import pos.domain.SubType;
import pos.domain.Type;

public interface ITypeDAO {

	public List<Type> getAllTypes();
	public Type getTypeById(String idType);
	public Type getTypeByName(String name);
	public List<SubType> getSubTypesByEntityAndType(String idType, String idEntity);
	
	public Type insertType(Type type, String idEntity);
	public void removeType(Type type);
	public boolean existType(String name, String idEvent);
	
	
}
